<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        .s {
            position: relative;
            width: 400px;
            height: 200px;
            background-color: pink;
        }
        .s::after {
            position: absolute;
            content: '';
            width: 50px;
            height: 50px;
            background-color: black;
        }
    </style>
</head>
<body>
    <div class="f">
        <div class="s">
            <img src="image/recomToday.png" alt="">
        </div>
    </div>

</body>
</html>